<!--
 * @Author: zxc
 * @Date: 2020-10-22 14:08:58
 * @LastEditTime: 2020-11-06 17:42:03
 * @LastEditors: zxc
 * @Description: 
-->
<template>
  <input type="text" :value="value" @input="handleChange" />
</template>

<script lang="ts" setup="props">
import { FiledPropsDefine, Schema } from "../types"
export default {
  props: FiledPropsDefine
}
declare const props: {
  value: any
  onChange: (v: string) => void
  schema: Schema
}
export const handleChange = (e: any) => {
  console.log(e)
  props.onChange(e.target.value)
}
</script>
